Returns the first element of an enumeration.
function First: T;
Use the method to obtain the first element of an enumeration. The method throws an exception if the enumeration contains no elements. To instead return nil when the enumeration is empty, use the FirstOrDefault method.